﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frm_Worker.aspx.cs" Inherits="Mod_FlatManger_frm_Worker" %>
<%@ Register Src="../WebCustomUserControls/CuTextSelectBox.ascx" TagName="CuTextSelectBox"TagPrefix="uc1" %>
<%@ Register Src="../WebCustomUserControls/CuTextBox.ascx" TagName="CuTextBox" TagPrefix="uc2" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
        <script language="javascript" src="../App_script/index.js"></script>
        <script language="javascript" src="../XMLHttpRequest/xmlhttprequest.js"></script>
        <link type="text/css" rel="stylesheet" href="../App_Css/css1.css"/>
</head>
<body rightmargin="0" topmargin="0" bottommargin="0" leftmargin="0" onresize="ChangDivWidth()" onkeydown="FocusChangNext()">
    <form id="WorkerPage" runat="server">
        <!-- 下拉子菜单 Begin -->
            <div id="divChildMenu" align="center" style="border-right: #cdccc1 1px solid; visibility:hidden; border-top: #cdccc1 1px solid; left: 551px; border-left: #cdccc1 1px solid; width: 120px; border-bottom: #cdccc1 1px solid; position: absolute; top: 31px; height: 22px; background-color: #e8e8e3">
                <table cellpadding="0" cellspacing="0" border="0" class="text">
                    <tr onmouseover="ChangTrBgColor(this, '#D3E2D7')" onmouseout="ChangTrBgColor(this, '')">
                        <td width="20%" align="center" style="height: 18px"></td>
                        <td width="80%" align="left" style="height: 18px">
                            <asp:linkbutton ID="lbtnDelete0" CommandName="1" OnClick="lbtnDelete_Click" runat="server" Text="作   废" Font-Overline="False" ForeColor="#4E4E4E"/>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="height: 1px"><hr style="width: 101px" /></td>
                    </tr>
                    <tr onmouseover="ChangTrBgColor(this, '#D3E2D7')" onmouseout="ChangTrBgColor(this, '')">
                        <td width="20%" align="center" style="height: 35px"></td>
                        <td width="80%" align="left" style="height: 35px">
                            <asp:linkbutton ID="lbtnDelete1" Enabled=false CommandName="-1" OnClick="lbtnDelete_Click" runat="server" Text="彻底作废" Font-Overline="False" ForeColor="#4E4E4E"/>
                        </td>
                    </tr>
                </table>
            </div>
            <!-- 下拉子菜单 End -->
            <table align="center" width="100%" height="449" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td height="35" align="right" background="../App_Images/b_12.gif">
                        <!-- 操作工具条 Begin -->
                        <table width="820" height="35" cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <asp:Panel ID="panPrint" Visible="false" runat="server">
                                <td width="120">
                                    <table width="100" height="25" cellpadding="0" cellspacing="0"  border="0">
                                        <tr>
                                            <td align="center" width="70"><asp:ImageButton ID="ibtnPrint" ImageUrl="../App_Images/b_52_1.gif" onmouseover="ChangImage(this, '../App_Images/b_52_2.gif')" onmouseout="ChangImage(this, '../App_Images/b_52_1.gif')" runat="server" OnClick="ibtnPrint_Click" /></td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <td>&nbsp;</td>
                                <td width="1">
                                    <input type="hidden" id="hidButtonEdit" runat="server" style="width:0; height:0;">
                                    <input type="hidden" id="hidButtonOAudit" runat="server" style="width:0; height:0;">
                                </td>
                                <asp:Panel ID="panAdd" Visible="false" runat="server">
                                <td width="100">
                                    <table width="100" height="25" cellpadding="0" cellspacing="0"  border="0">
                                        <tr>
                                            <td align="center" width="100"><img id="imgAdd" style="cursor:hand" src="../App_Images/b_18_1.gif" onmouseover="ChangImage(this, '../App_Images/b_18_2.gif')" onmouseout="ChangImage(this, '../App_Images/b_18_1.gif')" onclick="AddPanelVisible(0)" /></td>
                                        </tr>
                                    </table>
                                </td>
                                </asp:Panel>
                                 <asp:Panel ID="panRef" Visible="false" runat="server">
                                <td width="100">
                                    <table width="100" height="25" cellpadding="0" cellspacing="0"  border="0">
                                        <tr>
                                            <td align="center" width="70"><img id="imgRef" style="cursor:hand" src="../App_Images/b_20_1.gif" onmouseover="ChangImage(this, '../App_Images/b_20_2.gif')" onmouseout="ChangImage(this, '../App_Images/b_20_1.gif')" onclick="RefurbishForm('WorkerPage','frm_Worker.aspx')" /></td>
                                            <td align="center" width="30"><img src="../App_Images/b_25.gif" height="25" width="1"/></td>
                                        </tr>
                                    </table>
                                </td>
                                </asp:Panel>
                                <asp:Panel ID="panAudit" Visible="false" runat="server">
                                <td width="100">
                                    <table width="100" height="25" cellpadding="0" cellspacing="0"  border="0">
                                        <tr>
                                            <td align="center" width="70"><asp:ImageButton ID="ibtnAudit" OnClick="AuditWorker" CommandName="1" ImageUrl="../App_Images/b_21_1.gif" onmouseover="ChangImage(this, '../App_Images/b_21_2.gif')" onmouseout="ChangImage(this, '../App_Images/b_21_1.gif')" runat="server" /></td>
                                            <td align="center" width="30"><img src="../App_Images/b_25.gif" height="25" width="1"/></td>
                                        </tr>
                                    </table>
                                </td>
                                </asp:Panel>
                                <asp:Panel ID="panDelete" Visible="false" runat="server">
                                <td width="130">
                                    <table width="130" height="25" cellpadding="0" cellspacing="0"  border="0">
                                        <tr>
                                            <td align="center" width="70"><asp:ImageButton ID="ibtnDelete0" CommandName="1" ImageUrl="../App_Images/b_19_1.gif" onmouseover="ChangImage(this, '../App_Images/b_19_2.gif');ChangImage(document.all.imgDelete, '../App_Images/b_19_3.gif')" onmouseout="ChangImage(this, '../App_Images/b_19_1.gif');ChangImage(document.all.imgDelete, '../App_Images/b_19_4.gif')" runat="server" OnClick="ibtnDelete0_Click" /></td>
                                            <td align="center" width="17"><img id="imgDelete" src="../App_Images/b_19_4.gif" style="cursor:hand" onmouseover="ChangImage(this, '../App_Images/b_19_3.gif');ChangImage(document.all.ibtnDelete0, '../App_Images/b_19_2.gif')" onmouseout="ChangImage(this, '../App_Images/b_19_4.gif');ChangImage(document.all.ibtnDelete0, '../App_Images/b_19_1.gif')" onclick="ChildMenuVisible()" /></td>
                                            <td align="center" width="43"><img src="../App_Images/b_25.gif" height="25" width="1"/></td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="panSearch" Visible="false" runat="server">
                                <td width="130">
                                    <table width="130" height="18" cellpadding="0" cellspacing="0"  border="1" bordercolor="#a1a7bb" style="border-collapse: collapse">
                                        <tr>
                                            <td width="17"><img src="../App_Images/ico/5.gif" border="0" width="17" height="17" /></td>
                                            <td width="77"><asp:TextBox ID="txtKey" runat="server" Width="68px" BorderWidth="0px" Height="15px" onmousedown="this.value=''" onmouseover="this.select()" CssClass="text" Text="查询关键字" /></td>
                                            <td width="36"><asp:ImageButton ID="ibtnSearch" runat="server" ImageUrl="../App_Images/b_21.gif" Width="36" Height="18" OnClick="ibtnSearch_Click" /></td>
                                        </tr>
                                    </table>
                                </td>
                                </asp:panel>
                                <td width="10">&nbsp;</td>
                            </tr>
                        </table>
                        <!-- 操作工具条 End -->
                    </td>
                </tr>
            <tr>
                <td height="25" align="left">
                    <table width="820" height="100%" cellpadding="0" cellspacing="0" border="0" class="text">
                        <tr>
                            <td align="center">
                                <asp:Label ID="lblRsCounts" runat="server" CssClass="text"/>
                                <asp:Label ID="lblPageCounts" runat="server" CssClass="text"/>
                                <asp:Label ID="lblCurrPage" runat="server" CssClass="text"/>&nbsp;&nbsp;
                                <asp:linkbutton ID="lbtnFirst" runat="server" CssClass="text" Text="首  页" CommandName="0" OnClick="ChangPage"/>
                                <asp:linkbutton ID="lbtnPrev" runat="server" CssClass="text" Text="上一页" CommandName="1" OnClick="ChangPage"/>
                                <asp:linkbutton ID="lbtnNext" runat="server" CssClass="text" Text="下一页" CommandName="2" OnClick="ChangPage"/>
                                <asp:linkbutton ID="lbtnEnd" runat="server" CssClass="text" Text="尾  页" CommandName="3" OnClick="ChangPage"/>&nbsp;&nbsp;
                                <asp:Label ID="lblGoTxt1" runat="server" CssClass="text" Text="跳转到"/>
                                <asp:textBox ID="txtGo" onmouseover="this.select()" runat="server" CssClass="text" Height="13px" Width="18px" BorderColor="#7F9DB9" BorderWidth="1px" MaxLength="5" OnTextChanged="txtGo_TextChanged" AutoPostBack="True"/>
                                <asp:Label ID="lblGoTxt2" runat="server" CssClass="text" Text="页"/>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="439" valign="top">
                        <div id="divShowResult" style="overflow: auto; width: 820px; height: 447px; border-right: #a1a7bb 1px solid;">
                        <table width="2580" height="25" cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td>
                                    <table width="100%" height="25" cellspacing="0" cellpadding="0" border="1" class="text" bordercolor="#a1a7bb" style="border-collapse: collapse">
                                        <tr style="cursor:default">
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 60px;">操作</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: gray; height: 25px; width: 60px;">员工编号</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 60px;">姓名</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 50px;">性别</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color:Red ; height: 25px; width: 100px;">出生日期</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 100px;">身份证号</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 60px;">政治面貌</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 60px;">婚姻状态</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 65px;">民族</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 70px;">工作部门</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color:Red ; height: 25px; width: 80px;">入厂日期</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 70px;">文化程度</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 70px;">技术职称</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 70px;">职位</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 70px;">工种</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 65px;">用工性质</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 120px;">联系地址</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 60px;">邮政编码</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 80px;">电话</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 80px;">手机</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 100px;">电子邮件</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 100px;">个人主页</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 90px;">毕业学校</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 80px;">专业</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 100px;">照片</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: gray; height: 25px; width: 80px;">录入人</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: gray; height: 25px; width: 100px;">录入日期</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: gray; height: 25px; width: 80px;">确认人</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: gray; height: 25px; width: 100px;">确认日期</td>
                                            <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px;">备注</td>
                                        </tr>
                                        <!-- 添加新记录面板 Begin -->
                                        <tr id="trAdd" style="display:none" height="25" bgcolor="#E9F0EB">
                                            <td align="center" style="width: 60px" background="../App_Images/b_23.gif">
                                                <img id="imgCancel" style="cursor:hand" onclick="AddPanelVisible(1)" src="../App_Images/ico/4.gif" title="取消新增" />&nbsp;
                                                <asp:ImageButton ID="ibtnServer" OnClick="AddWorkerInfo" ImageUrl="../App_Images/ico/11.gif" ToolTip="保存新增" runat="server" />
                                            </td>                                                    
                                            <td align="center" style="width: 60px"><input type="text" ID="txt1" runat="server" class="text" MaxLength="20" style="width: 50px; height: 13px; border-right: 0px solid; border-top: 0px solid; border-left: 0px solid; border-bottom: 0px solid; background-color: transparent;" /></td>
                                            <td align="center" style="width: 60px"><asp:TextBox ID="txt2" runat="server" CssClass="text" MaxLength="50" Width="50px" BackColor="Transparent" BorderWidth="0px"></asp:TextBox></td>                                            
                                            <td style="width: 50px" align="center">
                                                <asp:DropDownList ID="dropSex" runat="server" CssClass="text" Width="45px">
                                                    <asp:ListItem Text="男" Value="M" Selected="true"/>
                                                    <asp:ListItem Text="女" Value="F"/>
                                                </asp:DropDownList></td>
                                            <td align="center" style="width: 100px">
                                                <uc1:CuTextSelectBox ID="txtAddBirthday" runat="server" CssClass="text" ReturnTextIDs="txtAddBirthday" OpenPageUrl="../Mod_QueryFrom/frm_Calendar.aspx" Width="90" OpenPageHeight="232" OpenPageWidth="227" />
                                            </td>
                                            <td align="center" style="width: 100px"><asp:TextBox ID="txtAddSid"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="87px" runat="server" /></td>
                                            <td style="width: 60px" align="center">
                                                <asp:DropDownList ID="dropZz" runat="server" CssClass="text" Width="55px">
                                                    <asp:ListItem Text="团员" Value="0" Selected="true" />
                                                    <asp:ListItem Text="党员" Value="1" />
                                                </asp:DropDownList></td>
                                            <td style="width: 60px" align="center">
                                                <asp:DropDownList ID="dropMarry" runat="server" CssClass="text" Width="55px">
                                                    <asp:ListItem Text="未婚" Value="0" Selected="True" />
                                                    <asp:ListItem Text="已婚" Value="1" />
                                                    <asp:ListItem Text="离异" Value="2" />
                                                    <asp:ListItem Text="丧偶" Value="3" />
                                                </asp:DropDownList></td>
                                            <td style="width: 65px" align="center">
                                                <asp:DropDownList ID="dropNation" runat="server" CssClass="text" Width="60px">
                                                    <asp:ListItem Text="汉族" Value="0" Selected="True" />
                                                    <asp:ListItem Text="少数民族" Value="1" />
                                                </asp:DropDownList></td>
                                            <td align="center" style="width: 70px">
                                                <uc1:CuTextSelectBox ID="txtAddDept" runat="server" ReturnTextIDs="txtAddDept" OpenPageUrl="../Mod_QueryFrom/frm_QueryDept.aspx" Width="60" />
                                            </td>
                                            <td align="center" style="width: 80px">
                                                <uc1:CuTextSelectBox ID="txtAddInDate" runat="server" ReturnTextIDs="txtAddInDate" OpenPageUrl="../Mod_QueryFrom/frm_Calendar.aspx" Width="70" OpenPageHeight="232" OpenPageWidth="227" />
                                             </td>
                                            <td style="width: 70px" align="center">
                                                <asp:DropDownList ID="dropDegree" runat="server" CssClass="text" Width="60px">
                                                    <asp:ListItem Text="小学" Value="0" Selected="True" />
                                                    <asp:ListItem Text="初中" Value="1" />
                                                    <asp:ListItem Text="高中" Value="2" />
                                                    <asp:ListItem Text="中专" Value="3" />
                                                    <asp:ListItem Text="大专" Value="4" />
                                                    <asp:ListItem Text="本科" Value="5" />
                                                    <asp:ListItem Text="硕士" Value="6" />
                                                    <asp:ListItem Text="博士" Value="7" />
                                                    <asp:ListItem Text="教授" Value="8" />
                                                </asp:DropDownList></td>
                                            <td style="width: 70px" align="center">
                                                <asp:DropDownList ID="dropJz" runat="server" CssClass="text" Width="60px">
                                                    <asp:ListItem Text="经济师" Value="0" />
                                                    <asp:ListItem Text="助理经济师" Value="1" />
                                                    <asp:ListItem Text="高级经济师" Value="2" />
                                                    <asp:ListItem Text="工程师" Value="3" />
                                                    <asp:ListItem Text="经营师" Value="4" />
                                                    <asp:ListItem Text="高级经营师" Value="5" />
                                                    <asp:ListItem Text="会计师" Value="6" />
                                                </asp:DropDownList></td>
                                            <td align="center" style="width: 70px"><asp:TextBox ID="txtAddDuty"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="60px" runat="server" /></td>
                                            <td align="center" style="width: 70px"><asp:TextBox ID="txtWordClass"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="60px" runat="server" /></td>
                                            <td style="width: 65px" align="center">
                                                <asp:DropDownList ID="dropWkType" runat="server" CssClass="text" Width="60px">
                                                    <asp:ListItem Text="正式员工" Value="0" Selected="True" />
                                                    <asp:ListItem Text="临时员工" Value="1" />
                                                    <asp:ListItem Text="试用员工" Value="2" />
                                                    <asp:ListItem Text="其他员工" Value="3" />
                                                </asp:DropDownList></td>
                                            <td align="center" style="width: 120px"><asp:TextBox ID="txtAddress"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="110px" runat="server" /></td>
                                            <td align="center" style="width: 60px"><asp:TextBox ID="txtAddPost"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="50px" runat="server" /></td>
                                            <td align="center" style="width: 80px"><asp:TextBox ID="txtAddTel"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="70px" runat="server" /></td>
                                            <td align="center" style="width: 80px"><asp:TextBox ID="txtAddMobile"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="70px" runat="server" /></td>
                                            <td align="center" style="width: 100px"><asp:TextBox ID="txtAddEmail"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="90px" runat="server" /></td>
                                            <td align="center" style="width: 100px"><asp:TextBox ID="txtAddWebSite"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="90px" runat="server" /></td>
                                            <td align="center" style="width: 90px"><asp:TextBox ID="txtAddSchool"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="80px" runat="server" /></td>
                                            <td align="center" style="width: 80px"><asp:TextBox ID="txtAddMajor"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="70px" runat="server" /></td>
                                            <td align="center" style="width: 100px"><asp:TextBox ID="txtAddImage"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="90px" runat="server" /></td>
                                            <td align="center" style="width: 80px"><asp:TextBox ID="txtAddOper" BackColor="transparent" BorderWidth="0" CssClass="text" Width="70px" runat="server" ReadOnly="True" /></td>
                                            <td align="center" style="width: 100px"><asp:TextBox ID="txtAddOper_Date" BackColor="transparent" BorderWidth="0" CssClass="text" Width="90px" runat="server" ReadOnly="True"/></td>
                                            <td align="center" style="width: 80px"><asp:TextBox ID="txtAddAuditor" BackColor="transparent" BorderWidth="0" CssClass="text" Width="70px" runat="server" ReadOnly="True" /></td>
                                            <td align="center" style="width: 100px;"><asp:TextBox ID="txtAddAudit_Date" BackColor="transparent" BorderWidth="0" CssClass="text" Width="90px" runat="server" ReadOnly="True" /></td>
                                            <td align="center"><asp:TextBox ID="txtAddRemark"  Width="190px"  BackColor="transparent" BorderWidth="0" CssClass="text" runat="server" onkeydown="ButtonSubmit('ibtnServer')"/></td>
                                        </tr>
                                        <!-- 添加新记录面板 End -->
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 359px" valign="top">
                                    <asp:datagrid ID="dgrdResult" runat="server" AllowPaging="True" AutoGenerateColumns="False" PageSize="18" ShowHeader="False" Width="2520" BorderStyle="None" BorderWidth="0px" CellPadding="0" CssClass="text" OnItemDataBound="dgrdResult_ItemDataBound">
                                        <PagerStyle Visible="False" BorderStyle="None" BorderWidth="0px" />
                                        <Columns>
                                            <asp:TemplateColumn>
                                                <ItemTemplate>
                                                    <table width="2580" height="20" cellpadding="0" cellspacing="0" border="1" bordercolor="#A1A7BB" class="text" style="border-collapse: collapse">
                                                        <tr id='tr' runat="server">
                                                            <td align="center" width="60" background="../App_Images/b_23.gif">
                                                               <asp:CheckBox ID="chkSelect" onclick="ChangTrBgColorByDataGrid(this, 'tr', 'chkSelect')" style="cursor:hand" Visible="false" runat="server" />
                                                                <asp:imagebutton ID="ibtnEdit" OnClick="UpDateWorkerInfo" CommandName="2" CommandArgument="<%# Container.ItemIndex %>" ToolTip="编辑" Height="17" Width="17" Visible="false" ImageUrl="../App_Images/ico/12.gif" runat="server" />
                                                                <asp:ImageButton ID="ibtnCan" OnClick="UpDateWorkerInfo" CommandName="3" CommandArgument="<%# Container.ItemIndex %>" ToolTip="取消编辑" Height="17" Width="17" Visible="false" ImageUrl="../App_Images/ico/4.gif" runat="server" OnClientClick="return confirm('您真的要取消编辑吗？')" />
                                                                <asp:ImageButton ID="ibtnSer" OnClick="UpDateWorkerInfo" CommandName="4" CommandArgument="<%# Container.ItemIndex %>" ToolTip="保存编辑" Height="17" Width="17" Visible="false" ImageUrl="../App_Images/ico/11.gif" runat="server" />
                                                                <asp:imagebutton ID="ibtnOAudit" OnClick="UpDateWorkerInfo" CommandName="0" CommandArgument="<%# Container.ItemIndex %>" ToolTip="取消确认" Height="17" Width="17" Visible="false" ImageUrl="../App_Images/ico/8.gif" runat="server" OnClientClick="return confirm('您真的要取消确认该条信息吗？')" />
                                                            </td>                                                                                                                            
                                                            <td align="center" style="width: 60px"><asp:TextBox ID="wk_id" Text='<%# DataBinder.Eval(Container.DataItem, "wk_id")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_id")%>' ReadOnly="true" style="cursor:default" BackColor="transparent" BorderWidth="0" CssClass="text" Width="50px" runat="server" /></td>
                                                            <td align="center" style="width: 60px"><asp:TextBox ID="wk_name" BorderColor="#7F9DB9" Text='<%# DataBinder.Eval(Container.DataItem, "wk_name")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_name")%>' runat="server" CssClass="text" MaxLength="50" Width="50px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox></td>                                                            
                                                            <td align="center" style="width: 50px">
                                                                <asp:TextBox ID="wk_sexx" runat="server" CssClass="text" MaxLength="20" Width="45px" Text='<%# DataBinder.Eval(Container.DataItem, "wk_sex")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_sex")%>' ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox>
                                                                <asp:DropDownList ID="wk_sex" AutoPostBack="True"  Visible="false"  runat="server" CssClass="text" Width="45px">
                                                                    <asp:ListItem Text="男" Value="M"/>
                                                                    <asp:ListItem Text="女" Value="F"/>
                                                                </asp:DropDownList></td>
                                                            <td align="center" style="width: 100px">
                                                             <uc1:CuTextSelectBox ID="wk_birthday" ReturnTextIDs="wk_birthday" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "wk_birthday")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_birthday")%>' CssClass="text" ReadOnly="true" OpenPageUrl="../Mod_QueryFrom/frm_Calendar.aspx" Width="90px" OpenPageHeight="232" OpenPageWidth="227" />
                                                            </td>
                                                            <td align="center" style="width: 100px"><asp:TextBox ID="wk_sid" ReadOnly="True" Text='<%# DataBinder.Eval(Container.DataItem, "wk_sid")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_sid")%>'  BackColor="transparent" BorderWidth="0" CssClass="text" Width="90px" runat="server" /></td>
                                                            <td align="center" style="width: 60px">
                                                                <asp:TextBox ID="wk_zzz" runat="server" CssClass="text" Text='<%# DataBinder.Eval(Container.DataItem, "wk_zz")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_zz")%>'  MaxLength="20" Width="45px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox>
                                                                <asp:DropDownList ID="wk_zz" AutoPostBack="True" Visible="false"  runat="server" CssClass="text" Width="55px">
                                                                    <asp:ListItem Text="团员" Value="0" />
                                                                    <asp:ListItem Text="党员" Value="1" />
                                                                </asp:DropDownList></td>
                                                            <td align="center" style="width: 60px">
                                                                <asp:TextBox ID="wk_marryy" runat="server" CssClass="text"  Text='<%# DataBinder.Eval(Container.DataItem, "wk_marry")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_marry")%>' MaxLength="20" Width="45px"  ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox>
                                                                <asp:DropDownList ID="wk_marry" AutoPostBack="True" Visible="false"  runat="server" CssClass="text" Width="55px">
                                                                    <asp:ListItem Text="未婚" Value="0" />
                                                                    <asp:ListItem Text="已婚" Value="1" />
                                                                    <asp:ListItem Text="离异" Value="2" />
                                                                    <asp:ListItem Text="丧偶" Value="3" />
                                                                </asp:DropDownList></td>
                                                            <td align="center" style="width: 65px">
                                                                <asp:TextBox ID="wk_nationn" runat="server" CssClass="text" MaxLength="20" Text='<%# DataBinder.Eval(Container.DataItem, "wk_nation")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_nation")%>' Width="45px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox>
                                                                <asp:DropDownList ID="wk_nation" AutoPostBack="True" Visible="false"  runat="server" CssClass="text" Width="60px">
                                                                    <asp:ListItem Text="汉族" Value="0" />
                                                                    <asp:ListItem Text="少数民族" Value="1" />
                                                                </asp:DropDownList></td>
                                                            <td align="center" style="width: 70px">
                                                                <uc1:CuTextSelectBox ID="dp_id" runat="server" ReturnTextIDs="dp_id" Text='<%# DataBinder.Eval(Container.DataItem, "dp_id")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "dp_id")%>' CssClass="text" ReadOnly="true" OpenPageUrl="../Mod_QueryFrom/frm_QueryDept.aspx" Width="60px" /> 
                                                            </td>
                                                            <td align="center" style="width: 80px">
                                                            <uc1:CuTextSelectBox ID="in_date" ReturnTextIDs="in_date" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "in_date")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "in_date")%>' CssClass="text" ReadOnly="true" OpenPageUrl="../Mod_QueryFrom/frm_Calendar.aspx" Width="75px" OpenPageHeight="232" OpenPageWidth="227" />
                                                            </td>
                                                            <td align="center" style="width: 70px">
                                                                <asp:TextBox ID="wk_degreee" runat="server" CssClass="text" Text='<%# DataBinder.Eval(Container.DataItem, "wk_degree")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_degree")%>' MaxLength="20" Width="45px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox>
                                                                <asp:DropDownList ID="wk_degree" AutoPostBack="True" Visible="false"  runat="server" CssClass="text" Width="65px">
                                                                    <asp:ListItem Text="小学" Value="0" />
                                                                    <asp:ListItem Text="初中" Value="1" />
                                                                    <asp:ListItem Text="高中" Value="2" />
                                                                    <asp:ListItem Text="中专" Value="3" />
                                                                    <asp:ListItem Text="大专" Value="4" />
                                                                    <asp:ListItem Text="本科" Value="5" />
                                                                    <asp:ListItem Text="硕士" Value="6" />
                                                                    <asp:ListItem Text="博士" Value="7" />
                                                                    <asp:ListItem Text="教授" Value="8" />
                                                                </asp:DropDownList></td>
                                                            <td align="center" style="width: 70px">
                                                                <asp:TextBox ID="wk_jzz" runat="server" CssClass="text" Text='<%# DataBinder.Eval(Container.DataItem, "wk_jz")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_jz")%>' MaxLength="20" Width="45px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox>
                                                                <asp:DropDownList ID="wk_jz" AutoPostBack="True"  runat="server" Visible="false"  CssClass="text" Width="65px">
                                                                    <asp:ListItem Text="经济师" Value="0" />
                                                                    <asp:ListItem Text="助理经济师" Value="1" />
                                                                    <asp:ListItem Text="高级经济师" Value="2" />
                                                                    <asp:ListItem Text="工程师" Value="3" />
                                                                    <asp:ListItem Text="经营师" Value="4" />
                                                                    <asp:ListItem Text="高级经营师" Value="5" />
                                                                    <asp:ListItem Text="会计师" Value="6" />
                                                                </asp:DropDownList></td>
                                                            <td align="center" style="width: 70px"><asp:TextBox ID="dt_id" Text='<%# DataBinder.Eval(Container.DataItem, "dt_id")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "dt_id")%>' ReadOnly="True" BackColor="transparent" BorderWidth="0" CssClass="text" Width="60px" runat="server" /></td>
                                                            <td align="center" style="width: 70px"><asp:TextBox ID="wc_id" Text='<%# DataBinder.Eval(Container.DataItem, "wc_id")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wc_id")%>' ReadOnly="True" BackColor="transparent" BorderWidth="0" CssClass="text" Width="60px" runat="server" /></td>
                                                            <td align="center" style="width: 65px">
                                                                <asp:TextBox ID="wk_typee" runat="server" CssClass="text" Text='<%# DataBinder.Eval(Container.DataItem, "wk_type")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_type")%>' MaxLength="20" Width="45px" ReadOnly="True" BackColor="Transparent" BorderWidth="0px"></asp:TextBox>
                                                                <asp:DropDownList ID="wk_type" AutoPostBack="True" Visible="false"  runat="server" CssClass="text" Width="60px">
                                                                    <asp:ListItem Text="正式员工" Value="0" />
                                                                    <asp:ListItem Text="临时员工" Value="1" />
                                                                    <asp:ListItem Text="试用员工" Value="2" />
                                                                    <asp:ListItem Text="其他员工" Value="3" />
                                                                </asp:DropDownList></td>
                                                            <td align="center" style="width: 120px"><asp:TextBox ID="wk_address" Text='<%# DataBinder.Eval(Container.DataItem, "wk_address")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_address")%>' ReadOnly="True" BackColor="transparent" BorderWidth="0" CssClass="text" Width="110px" runat="server" /></td>
                                                            <td align="center" style="width: 60px"><asp:TextBox ID="wk_post" Text='<%# DataBinder.Eval(Container.DataItem, "wk_post")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_post")%>' ReadOnly="True" BackColor="transparent" BorderWidth="0" CssClass="text" Width="50px" runat="server" /></td>
                                                            <td align="center" style="width: 80px"><asp:TextBox ID="wk_tel" Text='<%# DataBinder.Eval(Container.DataItem, "wk_tel")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_tel")%>' ReadOnly="True" BackColor="transparent" BorderWidth="0" CssClass="text" Width="70px" runat="server" /></td>
                                                            <td align="center" style="width: 80px"><asp:TextBox ID="wk_mobile" Text='<%# DataBinder.Eval(Container.DataItem, "wk_mobile")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_mobile")%>' ReadOnly="True"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="70px" runat="server" /></td>
                                                            <td align="center" style="width: 100px"><asp:TextBox ID="wk_email" Text='<%# DataBinder.Eval(Container.DataItem, "wk_email")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_email")%>' ReadOnly="True" BackColor="transparent" BorderWidth="0" CssClass="text" Width="90px" runat="server" /></td>
                                                            <td align="center" style="width: 100px"><asp:TextBox ID="wk_website" Text='<%# DataBinder.Eval(Container.DataItem, "wk_website")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_website")%>' ReadOnly="True"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="90px" runat="server" /></td>
                                                            <td align="center" style="width: 90px"><asp:TextBox ID="wk_school" Text='<%# DataBinder.Eval(Container.DataItem, "wk_school")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_school")%>' ReadOnly="True"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="80px" runat="server" /></td>
                                                            <td align="center" style="width: 80px"><asp:TextBox ID="wk_major" Text='<%# DataBinder.Eval(Container.DataItem, "wk_major")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_major")%>' ReadOnly="True"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="70px" runat="server" /></td>
                                                            <td align="center" style="width: 100px"><asp:TextBox ID="wk_image" Text='<%# DataBinder.Eval(Container.DataItem, "wk_image")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "wk_image")%>' ReadOnly="True"  BackColor="transparent" BorderWidth="0" CssClass="text" Width="90px" runat="server" /></td>
                                                            <td align="center" style="width: 80px"><asp:TextBox ID="oper" BackColor="Transparent" BorderWidth="0" ReadOnly="true" CssClass="text" Width="70px" Text='<%# DataBinder.Eval(Container.DataItem, "oper")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "oper")%>' runat="server" /></td>
                                                            <td align="center" style="width: 100px"><asp:TextBox ID="oper_date" BackColor="Transparent" ReadOnly="true" BorderWidth="0" CssClass="text" Width="90px" Text='<%# DataBinder.Eval(Container.DataItem, "oper_date")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "oper_date")%>' runat="server" /></td>
                                                            <td align="center" style="width: 80px"><asp:TextBox ID="auditor" BackColor="Transparent" ReadOnly="true" BorderWidth="0" CssClass="text" Width="70px" Text='<%# DataBinder.Eval(Container.DataItem, "auditor")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "auditor")%>' runat="server" /></td>
                                                            <td align="center" style="width: 100px"><asp:TextBox ID="audit_date" BackColor="Transparent" ReadOnly="true" BorderWidth="0" CssClass="text" Width="90px" Text='<%# DataBinder.Eval(Container.DataItem, "audit_date")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "audit_date")%>' runat="server" /></td>
                                                            <td align="center"><asp:TextBox ID="remark" BackColor="Transparent" BorderWidth="0" ReadOnly="True" BorderColor="#7F9DB9" CssClass="text" Width="190" Text='<%# DataBinder.Eval(Container.DataItem, "remark")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "remark")%>' runat="server" /></td>
                                                        </tr>
                                                    </table>
                                                </ItemTemplate>
                                            </asp:TemplateColumn>
                                            <asp:BoundColumn DataField="is_audit" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                            <asp:BoundColumn DataField="wk_sex" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                            <asp:BoundColumn DataField="wk_zz" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                            <asp:BoundColumn DataField="wk_marry" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                            <asp:BoundColumn DataField="wk_nation" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                            <asp:BoundColumn DataField="wk_degree" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                            <asp:BoundColumn DataField="wk_jz" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                            <asp:BoundColumn DataField="wk_type" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                        </Columns>
                                        <ItemStyle BorderStyle="None" BorderWidth="0px" />
                                        <AlternatingItemStyle BackColor="#EEEFF2" />
                                    </asp:datagrid>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
        <asp:label ID="lblJs" runat="server"/>
    </form>
</body>
</html>
